<{css src="member.css" app="b2c"}>
<{lang_css src="lang.css" app="b2c"}>
<{lang_script src="lang.js" app="b2c"}>
<{css src="b2c.css" app="b2c"}>
<{lang_css src="framework.css" app="b2c"}>
<!---->
<{lang_css src="css.css" app="b2c"}>
<{css src="ecmall.css" app="business"}>
<{css src="style.css" app="business"}>
<{script src="uploader.js" app="business" pdir="js"}>
<{script src="modedialog.js" app="business" pdir="js"}>
<script>
  window.loadedPart = [1,0,(new Date).getTime()];
  BREADCRUMBS ='0:0';
  MODALPANEL = {
    createModalPanel:function(){
      var mp = new Element('div',{'id':'MODALPANEL'});
      var mpStyles = {
        'position': 'fixed',
        'background': '#333333',
        'width': '100%',
        'display':'none',
        'height': window.getScrollSize().y,
        'top': 0,
        'left': 0,
        'zIndex': 65500,
        'opacity': .4
      };
      this.element = mp.setStyles(mpStyles).inject(document.body);
      return this.element;
    },
    show:function(){
      var panel = this.element = this.element||this.createModalPanel();
      panel.setStyles({
        'width': '100%',
        'height': window.getScrollSize().y
      }).show();
    },hide:function(){
      if(this.element)this.element.hide();
    }
  };
  Xtip = new Tips({tip:'tip_Xtip',fixed:true,offset: {x: 24, y: -15},onBound:function(bound){
  if(bound.x2){
      this.tip.getElement('.tip-top').addClass('tip-top-right');
      this.tip.getElement('.tip-bottom').addClass('tip-bottom-right');
  }else {
      this.tip.getElement('.tip-top').removeClass('tip-top-right');
      this.tip.getElement('.tip-bottom').removeClass('tip-bottom-right');
  }
}});
var LAYOUT = {
  container: $('container'),
  side: $('side'),
  workground: $('workground'),
  content_main: $('main'),
  content_head: $E('#workground .content-head'),
  content_foot: $E('#workground .content-foot'),
  side_r: $('side-r'),
  side_r_content:$('side-r-content')
};
</script>
<iframe src='<{$current_url}>/tpl.html' id='tplframe' tabindex=-1 style="display:none" ></iframe>
<{script src="load.js" app="business" pdir="js"}>
<{script src="wpage.js" app="business" pdir="js"}>
<script>
  var W = new Wpage({});
</script>
<{script src="dialog.js" app="business" pdir="js"}>
<!---->
<div class="memberwrap">
  <div class="clearfix">
    <!-- left-->
    <div class="member-sidebar">
      <div class="member-menu">
      <!--  <div class="title"></div>-->
        <h2 class="left_top">卖家中心</h2>
        <ul class="body">
          <{foreach from=$cpmenu item=menus}>
          <input type="hidden" value=<{$counti++}>>
          <li class="member-menu-list">
            <{if $counti eq '1'}>
            <div class="list-title-bg noborder">
            <{else}>
            <div class="list-title-bg">
            <{/if}>
            <h2 class="list-title-icon m-<{$menus.mid}>" ><{$menus.label}></h2></div>
            <ul>
            <{foreach from=$menus.items item=items}>
            <{if $items}>
              <li <{if $current == $items.link || $items.link == $controller}> class="current"<{/if}>>
              <{if $items.href}>
                <a href="<{$items.href}>" target="_balnk"><{$items.label}></a>
              <{else}>
                <a href="<{if $items.args ne null}><{link app=$items.app ctl=$items.ctl act=$items.link args=$items.args}><{else}><{link app=$items.app ctl=$items.ctl act=$items.link}><{/if}>"><{if $items.label==$___b2c='我的订单'|t:'b2c'}><{/if}><{$items.label}><{if $items.label==$___b2c='我的订单'|t:'b2c'}><{/if}></a>
              <{/if}></li>
            <{/if}>
            <{/foreach}>
            </ul>
          </li>
          <{/foreach}>
        </ul>
      </div>
    </div>
    <!-- left-->
    <{include file=$_PAGE_ app=$app_id}>
  </div>
</div>
<div style="display:none;">
  <div class="gridlist-tip">
    <div class="tip">
      <div class="tip-title"></div>
      <div class="tip-text"></div>
    </div>
  </div>
</div>
